#include<stdio.h>

struct S
{
	char name[20];
	int s;
};
struct S s = { "wang",10 };

void print1(struct S s)
{
	printf("%d\n", s.s);
}

void print2(struct S *ps)
{
	printf("%d\n", ps->s);
}
int main()
{
	
	print1(s);
	print2(&s);
	return 0;
}